|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--jade.util.leap.Properties
J2SE implementation of the Properties.
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
Properties()
Constructor declaration |
|
Properties(java.lang.String fileName)
Creates an empty property list. |
|
| Method Summary | |
java.lang.String |
getProperty(java.lang.String key)
Searches for the property with the specified key in this property list. |
void |
load()
Reads a property list (key and element pairs) from the default persistent storage. |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Calls the hashtable method put. |
void |
store()
Stores this property list (key and element pairs) to the default persistent storage. |
| Methods inherited from class java.util.Properties |
getProperty,
list,
list,
load,
propertyNames,
save,
store |
| Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
rehash,
remove,
size,
toString,
values |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Properties()
public Properties(java.lang.String fileName)
| Method Detail |
public java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
put.key - the key to be placed into this property list.value - the value corresponding to key.getProperty(java.lang.String)public java.lang.String getProperty(java.lang.String key)
null if the
property is not found.key - the property key.setProperty(java.lang.String, java.lang.String)
public void load()
throws java.io.IOException
public void store()
throws java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||